
package br.pb.sistcomp.dao;

import br.pb.sistcomp.entity.Leilao;
import br.pb.sistcomp.exception.ErroAoRemoverException;
import br.pb.sistcomp.exception.ErroAoSalvarException;
import java.util.List;

/**
 * interface class
 *
 * @author Renan Oliveira
 * @version 1.01
 *
 * Copyright (C) 2011 SistComp.
 */

public interface LeilaoDao {

    public void addLeilao(Leilao leilao) throws ErroAoSalvarException;
    public Leilao removeLeilao(Leilao leilao) throws ErroAoRemoverException;
    public Leilao procurar(int id);
    public List<Leilao> listarTodos();
    public List<Leilao> listarTodosAtivos();
    public List<Leilao> listarTodosInativos();
    public List<Leilao> listarFaltaUmaHora();



}
